<template> 
  <div class="bgc-default pad-20">
    <div class="tab-sticky">
      <el-tabs v-model="activeName">
        <el-tab-pane label="店主管理" name="1"></el-tab-pane>
        <el-tab-pane label="业绩排名" name="2"></el-tab-pane>
      </el-tabs>
    </div>
    <div class="bg-color-white pad-20 mar-t-20">      
      <member-list v-if="activeName == 1"></member-list>
      <commission v-if="activeName == 2"></commission>
    </div>
  </div> 
</template>

<script>
  import MemberList from './components/member-list'
  import Commission from './components/commission'

  export default {
    components: { MemberList, Commission },
    data() {
      return {
        activeName: '1'
      }
    },
    // 初始化页面
    created() {
    },
    methods: {
    },
    mounted() {
    }
  }
</script>

<style scoped>
</style>